﻿using System;
using QuantoSharp.Electron;

namespace QuantoSharp.Core.CashFlows
{
    /// <summary>
    /// Represents a base class for cash flow.
    /// </summary>
    public abstract class Cashflow:Event, IComparable<Cashflow>
    {
        public abstract double Amount { get; }

        public int CompareTo(Cashflow other)
        {
            throw new NotImplementedException();
        }
    }
}
